import request from "@/axios";

export const loginApi = (data) => {
  return request.post({ url: "tenant/admin/auth/login", data });
};

export const loginOutApi = () => {
  return request.get({ url: "agent/auth/loginOut" });
};

export const getUserInfoApi = (params) => {
  return request.get({ url: "tenant/admin/user/getInfo", params });
};
